package com.snow.sysentity;

import com.snow.base.BaseEntity;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Description:
 * @Author: 爱飘de小子
 * @CreateDate: 2018/6/4 21:42
 * @Version: 1.0
 */
@Data
@ToString
@Entity
@Table(name = "system_file")
public class SystemFile extends BaseEntity {

    @Column(name = "file_name", nullable = true, columnDefinition = "varchar(50) COMMENT '文件名'")
    private String fileName;

    @Column(name = "file_path", nullable = false, columnDefinition = "varchar(500) COMMENT '文件地址'")
    private String filePath;

    @Column(name = "file_type", nullable = false, columnDefinition = "varchar(50) COMMENT '文件类型'")
    private String fileType;


}
